//
//  JustPhotoItAppDelegate.h
//  JustPhotoIt
//
//  Created by mac on 11-4-12.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ObjectiveFlickr.h"
#import "RootViewController.h"

extern NSString *SnapAndRunShouldUpdateAuthInfoNotification;

@interface JustPhotoItAppDelegate : NSObject <UIApplicationDelegate, OFFlickrAPIRequestDelegate> {
    UIWindow *window;
	RootViewController *viewController;
	UIActivityIndicatorView *activityIndicator;
	UIView *progressView;
	OFFlickrAPIContext *flickrContext;
	OFFlickrAPIRequest *flickrRequest;
	NSString *flickrUserName;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) OFFlickrAPIContext *flickrContext;
@property (nonatomic, retain) OFFlickrAPIRequest *flickrRequest;
@property (nonatomic, retain) RootViewController *viewController;
@property (nonatomic, retain) UIActivityIndicatorView *activityIndicator;
@property (nonatomic, retain) UIView *progressView;
@property (nonatomic, retain) NSString *flickrUserName;

+ (JustPhotoItAppDelegate *)sharedDelegate;
- (void)setAndStoreFlickrAuthToken:(NSString *)inAuthToken;


@end

